<template>
  <h1>我是父组件</h1>
  
  <!-- 子组件 -->
  <child-component :list="list"></child-component>
</template>

<script setup>
import { ref } from 'vue'
import ChildComponent from "./ChildComponent.vue";

const list = ref(['JavaScript', 'HTML', 'CSS'])
</script>

<style lang="less">
</style>
